<?php
class indexAction extends frontAction{
    public function execute(){
        $id = $this->getGetParam('id',0);
        if($id != 0){
            $page = service_page::getOneByID($id);
        }
		
		$currentID = service_menu::getCurrent(service_type::PAGE,$id);
		$cache = new Cache_request();
		$cache->set("currentID",$currentID);
        $this->assign("page", $page);
    }
}
?>
